variable "ecs_sg_id" {
  type = list(string)
  default = []
}
variable "number_of_instances" {
  default = 1
}
variable "ecs_image_security" {
  default = "Active"
}
variable "ecs_vswitch_id" {
  default = ""
}
variable "ecs_hostname" {
  default = ""
}
variable "ecs_instance_type" {
  default = "ecs.t5-lc1m1.small"
}
variable "ecs_disk_type" {
  default = "cloud_efficiency"
}
variable "ecs_image" {
  default = "ubuntu_18_04_64_20G_alibase_20190624.vhd"
}
variable "ecs_name" {
  default = "examples"
}
variable "ecs_max_bandwidth_out" {
  default = 0
}
variable "ecs_disk_size" {
  default = 30
}
variable "ecs_internet_billing_type" {
  default = "PayByTraffic"
}
variable "ecs_instance_billing_type" {
  default = "PostPaid"
}
variable "dry_run" {
  default = false
}
variable "role_name" {
  type = string
  default = ""
}
variable "ecs_key_name" {
  type = string
  default = ""
}
variable "spot_strategy" {
  default = "NoSpot"
}
variable "spot_price_limit" {
  default = "0.2"
}
variable "deletion_protection" {
  default = false
}
variable "prepaid_settings" {
  type = map(string)
  default = {
    "period"             = "1"
    "period_unit"        = "Month"
    "renewal_status"     = "Normal"
    "auto_renew_period"  = "1"
    "include_data_disks" = "true"
  }
}
variable "ecs_data_disks" {
  type = list(map(string))
  default = []
}
variable "tags" {
  type = map
  default = {}
}
variable "userdata_TERRAFORM_OSSBUCKET" {
  default = ""
}
variable "userdata_VAR_PLAYBOOKS" {
 default = []
 type = list(string) 
}
variable "userdata_ENV_HOME" {
  default = "/opt"
}